<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ResultDTO</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.css">
<link href="../style.css" rel="stylesheet" />
</head>
<body onload="PR.prettyPrint()">
<pre class="prettyprint lang-java">
public class ResultDTO implements Serializable{

    private boolean success; //
    private WorkLedger data; //
    private int code; //
    private String message; //

    public boolean getSuccess(){
        return success;
    }

    public void setSuccess(boolean success){
        this.success = success;
    }

    public WorkLedger getData(){
        return data;
    }

    public void setData(WorkLedger data){
        this.data = data;
    }

    public int getCode(){
        return code;
    }

    public void setCode(int code){
        this.code = code;
    }

    public String getMessage(){
        return message;
    }

    public void setMessage(String message){
        this.message = message;
    }

}
</pre>


<pre class="prettyprint lang-java">
public class WorkLedger implements Serializable{

    private long id; //id
    private long companyId; //多租户id
    private String name; //危险作业名称
    private byte type; //作业票类型
    private long organizationId; //作业区域（部门id），多个id以逗号分割
    private String exStartTime; //预计作业开始时间
    private String exEndTime; //预计作业结束时间
    private String reStartTime; //实际作业开始时间
    private String reEndTime; //实际作业结束时间
    private byte status; //当前状态
    private long creatorId; //作业创建人id
    private String url; //操作

    public long getId(){
        return id;
    }

    public void setId(long id){
        this.id = id;
    }

    public long getCompanyId(){
        return companyId;
    }

    public void setCompanyId(long companyId){
        this.companyId = companyId;
    }

    public String getName(){
        return name;
    }

    public void setName(String name){
        this.name = name;
    }

    public byte getType(){
        return type;
    }

    public void setType(byte type){
        this.type = type;
    }

    public long getOrganizationId(){
        return organizationId;
    }

    public void setOrganizationId(long organizationId){
        this.organizationId = organizationId;
    }

    public String getExStartTime(){
        return exStartTime;
    }

    public void setExStartTime(String exStartTime){
        this.exStartTime = exStartTime;
    }

    public String getExEndTime(){
        return exEndTime;
    }

    public void setExEndTime(String exEndTime){
        this.exEndTime = exEndTime;
    }

    public String getReStartTime(){
        return reStartTime;
    }

    public void setReStartTime(String reStartTime){
        this.reStartTime = reStartTime;
    }

    public String getReEndTime(){
        return reEndTime;
    }

    public void setReEndTime(String reEndTime){
        this.reEndTime = reEndTime;
    }

    public byte getStatus(){
        return status;
    }

    public void setStatus(byte status){
        this.status = status;
    }

    public long getCreatorId(){
        return creatorId;
    }

    public void setCreatorId(long creatorId){
        this.creatorId = creatorId;
    }

    public String getUrl(){
        return url;
    }

    public void setUrl(String url){
        this.url = url;
    }

}
</pre>



<script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
</body>
</html>